/**
 * Created by Kpeng on 2017/7/3.
 * Depending on the jquery-1.12.4.min.js.
 * Depending on the common.js.
 * Depending on the style.min.css.
 * To cite this document, always state the source as shown above.
 * -------------------------------
 * Module:待办事项
 * -------------------------------
 */

$(function () {
    wzERP.Backlog.init();
});

wzERP.Backlog.init = function () {
    wzERP.Backlog.caseHandle();
    wzERP.Backlog.caseAssign();
    wzERP.Common.inlineDate('#rangestart', '#rangeend');
};


//处理
wzERP.Backlog.caseHandle = function () {
    var opt = {
        ele: '.hanleBtn',
        modalBox: '#modal',
        modalTitleStr: '立案审核',
        onApprove: function () {
            alert('ccc');
        },
        snippets: 'admin/modalContent/backlog-handle.html'
    };
    wzERP.Common.handleData(opt);
};


//处理
wzERP.Backlog.caseAssign = function () {
    var opt = {
        ele: '.assignBtn',
        modalBox: '#modal',
        modalTitleStr: '指派',
        onApprove: function () {
            alert('ccc');
        },
        snippets: 'admin/modalContent/backlog-assign.html'
    };
    wzERP.Common.handleData(opt);
};
